package com.iot.gateway.tsl.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 设备协议扩展 Spec 请求 QO
 * 用于新增/更新单条协议扩展字段
 *
 * @author
 * @create 2025/5/28
 */
@Data
@Schema(name = "SpecQo", description = "设备协议扩展字段请求 QO")
public class SpecQo {

    @Schema(description = "扩展字段键", required = true, example = "protocol")
    private String key;

    @Schema(description = "扩展字段值，可以是字符串、数字或对象", required = true, example = "modbus")
    private Object value;
}
